package com.mmd.admin.model.pojo.result.mer;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "商家端角色详情", description = "商家端角色详情")
public class MerRoleInfoResult implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long roleId = 0L;

    @NotBlank(message = "角色名称不能为空")
    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色描述")
    private String remark;

    @ApiModelProperty("角色相关的菜单权限")
    private List<MerMenuInfoVo> menuInfoVos;

}
